    package ssbm.domainmodel.lecturas;
  
    import ssbm.domainmodel.BaseEntity;
    import ssbm.domainmodel.EntityAccessNotAllowedException;
    
    import java.util.*;
    import javax.xml.bind.annotation.*;


    
    @XmlRootElement
    public final class LecturaServicio extends BaseEntity<Long> {

        private Long _id;
        private Long _unidadid;
        private Long _edificioid;
        private Long _servicioid;
        private Date _fecha;
        private Integer _hora;
        private Integer _lectura;
    
    
        @XmlTransient
        public enum FIELDS {
        
            ID() {
                public String getName() { return "_id"; }
            }
            ,UNIDADID() {
                public String getName() { return "_unidadid"; }
            }
            ,EDIFICIOID() {
                public String getName() { return "_edificioid"; }
            }
            ,SERVICIOID() {
                public String getName() { return "_servicioid"; }
            }
            ,FECHA() {
                public String getName() { return "_fecha"; }
            }
            ,HORA() {
                public String getName() { return "_hora"; }
            }
            ,LECTURA() {
                public String getName() { return "_lectura"; }
            }
            ;
        }
    
        private LecturaServicio() throws EntityAccessNotAllowedException {

            super();
        }
    
        
        public Long getId() {
            
            return this._id;
        }
        
        public Long getUnidadid() {
            
            return this._unidadid;
        }
        
        public Long getEdificioid() {
            
            return this._edificioid;
        }
        
        public Long getServicioid() {
            
            return this._servicioid;
        }
        
        public Date getFecha() {
            
            return this._fecha;
        }
        
        public Integer getHora() {
            
            return this._hora;
        }
        
        public Integer getLectura() {
            
            return this._lectura;
        }

        
        
        public void setId(Long newValue) {
            
            this._id = newValue;
        }
        
        public void setUnidadid(Long newValue) {
            
            this._unidadid = newValue;
        }
        
        public void setEdificioid(Long newValue) {
            
            this._edificioid = newValue;
        }
        
        public void setServicioid(Long newValue) {
            
            this._servicioid = newValue;
        }
        
        public void setFecha(Date newValue) {
            
            this._fecha = newValue;
        }
        
        public void setHora(Integer newValue) {
            
            this._hora = newValue;
        }
        
        public void setLectura(Integer newValue) {
            
            this._lectura = newValue;
        }
        
    }
